
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.CureMethod;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage CureMethod entities.
 * 
 */
public interface CureMethodDAO extends JpaDao<CureMethod> {

	/**
	 * JPQL Query - findCureMethodById
	 *
	 */
	public CureMethod findCureMethodById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findCureMethodById
	 *
	 */
	public CureMethod findCureMethodById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllCureMethods
	 *
	 */
	public Set<CureMethod> findAllCureMethods() throws DataAccessException;

	/**
	 * JPQL Query - findAllCureMethods
	 *
	 */
	public Set<CureMethod> findAllCureMethods(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureMethodByPrimaryKey
	 *
	 */
	public CureMethod findCureMethodByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureMethodByPrimaryKey
	 *
	 */
	public CureMethod findCureMethodByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureMethodByMemo
	 *
	 */
	public Set<CureMethod> findCureMethodByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findCureMethodByMemo
	 *
	 */
	public Set<CureMethod> findCureMethodByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findCureMethodByMemoContaining
	 *
	 */
	public Set<CureMethod> findCureMethodByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findCureMethodByMemoContaining
	 *
	 */
	public Set<CureMethod> findCureMethodByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

}